package com.ruoyi.publish.domain;

import java.math.BigDecimal;
import java.util.Date;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.ruoyi.common.annotation.ExcelField;
import com.ruoyi.common.annotation.Excels;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 鉴定样本对象 id_identsample
 * 
 * @author 张泽望
 * @date 2020-11-08
 */
public class IdIdentsample extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 编号 */
    private Long id;

    /** 送鉴单位 */
    private String sendingUnit;

    /** 来文文号 */

    private String recordNumber;

    /** 样本名称 */
    @Excel(name = "样本名称",type = Excel.Type.ALL)

    private String sampleName;
    /** 登记记录id */
    /** 部门对象 */
    @Excels({
            @Excel(name = "送鉴单位", targetAttr = "sendUnit", type = Excel.Type.EXPORT),
            @Excel(name = "来文文号", targetAttr = "documentNum", type = Excel.Type.EXPORT)
    })
    private IdAcceptRegister idAcceptRegister;


    private Long registerId;



    /** 样本数量 */
    @Excel(name = "样本数量",type = Excel.Type.ALL)
    private String sampleNumber;

    /** 系来函所附清单的序号 */
    @Excel(name = "系来函所附清单的序号",type = Excel.Type.ALL,width = 20)
    private String letterOrder;

    /** 样本编号 */
    @Excel(name = "样本ID",type = Excel.Type.EXPORT)
    private String sampleCode;

    /** 样本ID */

    private String sampleId;

    /** 封面 */
    private String frontCover;

    /** 封底 */
    private String backCover;

    /** 出版信息 */
    private String publishInfo;

    /** 版权信息识别文字 */
    private String publishInfoText;

    public String getPublishInfoText() {
        return publishInfoText;
    }

    public void setPublishInfoText(String publishInfoText) {
        this.publishInfoText = publishInfoText;
    }


    /** 其他 */
    @Excel(name = "其他",type = Excel.Type.IMPORT)
    private String other;

    /** 创建时间 */
    @Excel(name = "样本录入日期",dateFormat = "YYYY-MM-dd",type = Excel.Type.IMPORT)
    @JsonFormat(pattern = "yyyy-MM-dd")
    private Date createTime;

    /** 样本类别 */
    @Excel(name = "样本类别",type = Excel.Type.ALL)
    private String sampleType;

    /** 作者 */
    @Excel(name = "作者",type = Excel.Type.IMPORT)
    private String author;

    /** 国际标准书号 */
    @Excel(name = "国际标准书号",type = Excel.Type.IMPORT)

    private String interBookNumber;

    /** 国内统一连续出版物号 */
    @Excel(name = "国内统一连续出版物号",type = Excel.Type.IMPORT)
    private String nationUnifiedPubliNumber;

    /** 印刷单位 */
    @Excel(name = "印刷单位",type = Excel.Type.IMPORT)
    private String printingUnit;

    /** 经销 */
    @Excel(name = "经销",type = Excel.Type.IMPORT)
    private String distribution;

    /** CIP数据核字号 */
    @Excel(name = "CIP数据核字号",type = Excel.Type.IMPORT)
    private String cipNumber;

    /** 版次 */
    @Excel(name = "版次",type = Excel.Type.IMPORT)
    private String edition;

    /** 版本号 */
    @Excel(name = "版号",type = Excel.Type.IMPORT)
    private String versionNumber;

    /** 版本号 */
    @Excel(name = "版本号",type = Excel.Type.IMPORT)
    private String versionNumberNet;

    /** 出版单位 */
//    @Excel(name = "出版单位")
    @Excel(name = "出版单位",type = Excel.Type.IMPORT)
    private String publishingUnit;

    /** 出版时间 */
    @Excel(name = "出版时间",dateFormat = "YYYY-MM-dd",type = Excel.Type.IMPORT)
    private Date publishingTime;

    /** 印次 */
    @Excel(name = "印次",type = Excel.Type.IMPORT)
    private String printTimes;

    /** 开本 */
    @Excel(name = "开本",type = Excel.Type.IMPORT)
    private String format;

    /** 发行单位 */
    @Excel(name = "发行单位",type = Excel.Type.IMPORT)
    private String issueUnit;

    /** 发行时间 */
    @Excel(name = "发行时间",dateFormat = "YYYY-MM-dd",type = Excel.Type.IMPORT)
    private Date issueTime;

    /** 印张 */
    @Excel(name = "印张",type = Excel.Type.IMPORT)
    private String printedSheet;

    /** 印数 */
    @Excel(name = "印数",type = Excel.Type.IMPORT)
    private String printedNumber;

    /** 字数 */
    @Excel(name = "字数",type = Excel.Type.IMPORT)
    private String wordCount;

    /** 定价 */
    @Excel(name = "定价",type = Excel.Type.IMPORT)
    private String pricing;

    /** 期号 */
    @Excel(name = "期号",type = Excel.Type.IMPORT)
    private String issue;

    /** 主管单位 */
    @Excel(name = "主管单位",type = Excel.Type.IMPORT)
    private String competentUnit;

    /** 主办单位 */
    @Excel(name = "主办单位",type = Excel.Type.IMPORT)
    private String organizers;

    /** 广告经营许可证 */
    @Excel(name = "广告经营许可证",type = Excel.Type.IMPORT)
    private String adverBusinessLicense;

    /** ifpi */
    @Excel(name = "ifpi",type = Excel.Type.IMPORT)
    private String ifpi;

    /** 网络出版物号 */
    @Excel(name = "网络出版物号",type = Excel.Type.IMPORT)
    private String onlinePubliNumber;

    /** 网络出版服务许可证 */
    @Excel(name = "网络出版服务许可证",type = Excel.Type.IMPORT)
    private String onlineServiceNumber;

    /** 版权认证号 */
    @Excel(name = "版权认证号",type = Excel.Type.IMPORT)

    private String copyCertNumber;

    /** 审批文号 */
    @Excel(name = "审批文号",type = Excel.Type.IMPORT)
    private String approvalNumber;

    /** 原出版单位 */
    @Excel(name = "原出版单位",type = Excel.Type.IMPORT)
    private String originalPublisher;


    /** 书号 */
    @Excel(name = "书号",type = Excel.Type.IMPORT)
    private String bookNumber;

    /** 刊号 */
    @Excel(name = "刊号",type = Excel.Type.IMPORT)
    private String issueNumber;

    /** 相关信息 */
  @Excel(name = "相关信息",type = Excel.Type.IMPORT)
    private String relatedInfo;

    /** 接办人 */

    private String takeover;

    /** 接办人账号 */
//    @Excel(name = "接办人")
    private String takeoverUser;

    /** 是否启用 */
//    @Excel(name = "是否启用")
    private String isUse;

    /** 二维码图片地址 */
    private String qrCode;

    /** 审批状态 */
//    @Excel(name = "审批状态")
    private String status;

    /** 备用1  现用于 储存鉴定报告记录id 表示该记录*/
    private String by1;

    /** 备用2 现用于 存储网址*/
    @Excel(name = "版数",type = Excel.Type.IMPORT)
    private String by2;

    /** 备用3 现用于判断样本是否生已成协查函 ：“1”为已用于生成协查函*/
    private String by3;


    /**
     * 存储网址
     */
    @Excel(name = "网址",type = Excel.Type.IMPORT)
    private String url;

    /**
     * 导出的id集合
     */
    private String exportIds;



    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setSendingUnit(String sendingUnit) 
    {
        this.sendingUnit = sendingUnit;
    }

    public String getSendingUnit() 
    {
        return sendingUnit;
    }
    public void setRecordNumber(String recordNumber) 
    {
        this.recordNumber = recordNumber;
    }

    public String getRecordNumber() 
    {
        return recordNumber;
    }
    public void setTakeover(String takeover) 
    {
        this.takeover = takeover;
    }

    public String getTakeover() 
    {
        return takeover;
    }
    public void setRegisterId(Long registerId) 
    {
        this.registerId = registerId;
    }

    public Long getRegisterId() 
    {
        return registerId;
    }
    public void setSampleName(String sampleName) 
    {
        this.sampleName = sampleName;
    }

    @ExcelField(required = ExcelField.ExcelRequired.must,filedName = "样本名称")
    public String getSampleName() 
    {
        return sampleName;
    }

    public void setSampleNumber(String sampleNumber) 
    {
        this.sampleNumber = sampleNumber;
    }

    @ExcelField(required = ExcelField.ExcelRequired.must,filedName = "样本数量")
    public String getSampleNumber() 
    {
        return sampleNumber;
    }

    public void setSampleCode(String sampleCode) 
    {
        this.sampleCode = sampleCode;
    }

    public String getSampleCode() 
    {
        return sampleCode;
    }
    public void setSampleId(String sampleId) 
    {
        this.sampleId = sampleId;
    }

    public String getSampleId() 
    {
        return sampleId;
    }
    public void setFrontCover(String frontCover) 
    {
        this.frontCover = frontCover;
    }

    public String getFrontCover() 
    {
        return frontCover;
    }
    public void setBackCover(String backCover) 
    {
        this.backCover = backCover;
    }

    public String getBackCover() 
    {
        return backCover;
    }
    public void setPublishInfo(String publishInfo) 
    {
        this.publishInfo = publishInfo;
    }

    @ExcelField(required = ExcelField.ExcelRequired.no,filedName = "其他")
    public String getPublishInfo() 
    {
        return publishInfo;
    }
    public void setOther(String other) 
    {
        this.other = other;
    }

    public String getOther() 
    {
        return other;
    }
    public void setSampleType(String sampleType) 
    {
        this.sampleType = sampleType;
    }

    @ExcelField(required = ExcelField.ExcelRequired.must,filedName = "样本类别")
    public String getSampleType() 
    {
        return sampleType;
    }
    public void setAuthor(String author) 
    {
        this.author = author;
    }

    @ExcelField(required = ExcelField.ExcelRequired.no,filedName = "作者")
    public String getAuthor() 
    {
        return author;
    }
    public void setInterBookNumber(String interBookNumber) 
    {
        this.interBookNumber = interBookNumber;
    }

    @ExcelField(required = ExcelField.ExcelRequired.no,filedName = "国际标准书号")
    public String getInterBookNumber() 
    {
        return interBookNumber;
    }
    public void setNationUnifiedPubliNumber(String nationUnifiedPubliNumber) 
    {
        this.nationUnifiedPubliNumber = nationUnifiedPubliNumber;
    }
    @ExcelField(required = ExcelField.ExcelRequired.no,filedName = "国内统一连续出版物号")
    public String getNationUnifiedPubliNumber() 
    {
        return nationUnifiedPubliNumber;
    }
    public void setPrintingUnit(String printingUnit) 
    {
        this.printingUnit = printingUnit;
    }

    @ExcelField(required = ExcelField.ExcelRequired.no,filedName = "印刷单位")
    public String getPrintingUnit() 
    {
        return printingUnit;
    }
    public void setDistribution(String distribution) 
    {
        this.distribution = distribution;
    }

    @ExcelField(required = ExcelField.ExcelRequired.no,filedName = "经销")
    public String getDistribution() 
    {
        return distribution;
    }
    public void setCipNumber(String cipNumber) 
    {
        this.cipNumber = cipNumber;
    }

    @ExcelField(required = ExcelField.ExcelRequired.no,filedName = "CIP数据核字号")
    public String getCipNumber() 
    {
        return cipNumber;
    }
    public void setEdition(String edition) 
    {
        this.edition = edition;
    }

    @ExcelField(required = ExcelField.ExcelRequired.no,filedName = "版次")
    public String getEdition()
    {
        return edition;
    }

    public String getVersionNumber() {
        return versionNumber;
    }

    public void setVersionNumber(String versionNumber) {
        this.versionNumber = versionNumber;
    }

    public void setPublishingUnit(String publishingUnit)
    {
        this.publishingUnit = publishingUnit;
    }

    @ExcelField(required = ExcelField.ExcelRequired.no,filedName = "出版单位")
    public String getPublishingUnit() 
    {
        return publishingUnit;
    }
    public void setPublishingTime(Date publishingTime) 
    {
        this.publishingTime = publishingTime;
    }
    @ExcelField(required = ExcelField.ExcelRequired.no,filedName = "出版时间")
    public Date getPublishingTime() 
    {
        return publishingTime;
    }
    public void setPrintTimes(String printTimes) 
    {
        this.printTimes = printTimes;
    }

    @ExcelField(required = ExcelField.ExcelRequired.no,filedName = "印次")
    public String getPrintTimes() 
    {
        return printTimes;
    }
    public void setFormat(String format) 
    {
        this.format = format;
    }

    @ExcelField(required = ExcelField.ExcelRequired.no,filedName = "开本")
    public String getFormat() 
    {
        return format;
    }
    public void setIssueUnit(String issueUnit) 
    {
        this.issueUnit = issueUnit;
    }

    @ExcelField(required = ExcelField.ExcelRequired.no,filedName = "发行单位")
    public String getIssueUnit() 
    {
        return issueUnit;
    }
    public void setIssueTime(Date issueTime) 
    {
        this.issueTime = issueTime;
    }

    public Date getIssueTime() 
    {
        return issueTime;
    }
    public void setPrintedSheet(String printedSheet)
    {
        this.printedSheet = printedSheet;
    }

    @ExcelField(required = ExcelField.ExcelRequired.no,filedName = "印张")
    public String getPrintedSheet()
    {
        return printedSheet;
    }
    public void setPrintedNumber(String printedNumber)
    {
        this.printedNumber = printedNumber;
    }

    @ExcelField(required = ExcelField.ExcelRequired.no,filedName = "印数")
    public String getPrintedNumber()
    {
        return printedNumber;
    }
    public void setWordCount(String wordCount)
    {
        this.wordCount = wordCount;
    }

    @ExcelField(required = ExcelField.ExcelRequired.no,filedName = "字数")
    public String getWordCount()
    {
        return wordCount;
    }

    @ExcelField(required = ExcelField.ExcelRequired.no,filedName = "定价")
    public String getPricing() {
        return pricing;
    }

    public void setPricing(String pricing) {
        this.pricing = pricing;
    }

    public void setIssue(String issue)
    {
        this.issue = issue;
    }

    @ExcelField(required = ExcelField.ExcelRequired.no,filedName = "期号")
    public String getIssue()
    {
        return issue;
    }
    public void setCompetentUnit(String competentUnit) 
    {
        this.competentUnit = competentUnit;
    }
    @ExcelField(required = ExcelField.ExcelRequired.no,filedName = "主管单位")
    public String getCompetentUnit()
    {
        return competentUnit;
    }
    public void setOrganizers(String organizers) 
    {
        this.organizers = organizers;
    }


    @ExcelField(required = ExcelField.ExcelRequired.no,filedName = "主办单位")
    public String getOrganizers() 
    {
        return organizers;
    }
    public void setAdverBusinessLicense(String adverBusinessLicense) 
    {
        this.adverBusinessLicense = adverBusinessLicense;
    }
    @ExcelField(required = ExcelField.ExcelRequired.no,filedName = "广告经营许可证")
    public String getAdverBusinessLicense() 
    {
        return adverBusinessLicense;
    }
    public void setIfpi(String ifpi) 
    {
        this.ifpi = ifpi;
    }

    @ExcelField(required = ExcelField.ExcelRequired.no,filedName = "ifpi")
    public String getIfpi() 
    {
        return ifpi;
    }
    public void setOnlinePubliNumber(String onlinePubliNumber) 
    {
        this.onlinePubliNumber = onlinePubliNumber;
    }

    @ExcelField(required = ExcelField.ExcelRequired.no,filedName = "网络出版物号")
    public String getOnlinePubliNumber() 
    {
        return onlinePubliNumber;
    }
    public void setOnlineServiceNumber(String onlineServiceNumber) 
    {
        this.onlineServiceNumber = onlineServiceNumber;
    }

    public String getOnlineServiceNumber() 
    {
        return onlineServiceNumber;
    }
    public void setCopyCertNumber(String copyCertNumber) 
    {
        this.copyCertNumber = copyCertNumber;
    }

    public String getCopyCertNumber() 
    {
        return copyCertNumber;
    }
    public void setApprovalNumber(String approvalNumber) 
    {
        this.approvalNumber = approvalNumber;
    }

    @ExcelField(required = ExcelField.ExcelRequired.no,filedName = "审批文号")
    public String getApprovalNumber() 
    {
        return approvalNumber;
    }
    public void setOriginalPublisher(String originalPublisher) 
    {
        this.originalPublisher = originalPublisher;
    }

    @ExcelField(required = ExcelField.ExcelRequired.no,filedName = "原出版单位")
    public String getOriginalPublisher() 
    {
        return originalPublisher;
    }
    public void setBookNumber(String bookNumber) 
    {
        this.bookNumber = bookNumber;
    }

    @ExcelField(required = ExcelField.ExcelRequired.no,filedName = "书号")
    public String getBookNumber() 
    {
        return bookNumber;
    }
    public void setIssueNumber(String issueNumber) 
    {
        this.issueNumber = issueNumber;
    }

    @ExcelField(required = ExcelField.ExcelRequired.no,filedName = "刊号")
    public String getIssueNumber() 
    {
        return issueNumber;
    }
    public void setRelatedInfo(String relatedInfo) 
    {
        this.relatedInfo = relatedInfo;
    }

    public String getRelatedInfo() 
    {
        return relatedInfo;
    }
    public void setTakeoverUser(String takeoverUser) 
    {
        this.takeoverUser = takeoverUser;
    }

    public String getTakeoverUser() 
    {
        return takeoverUser;
    }
    public void setIsUse(String isUse) 
    {
        this.isUse = isUse;
    }

    public String getIsUse() 
    {
        return isUse;
    }
    public void setQrCode(String qrCode) 
    {
        this.qrCode = qrCode;
    }

    public String getQrCode() 
    {
        return qrCode;
    }
    public void setStatus(String status) 
    {
        this.status = status;
    }

    public String getStatus() 
    {
        return status;
    }
    public void setBy1(String by1) 
    {
        this.by1 = by1;
    }

    public String getBy1() 
    {
        return by1;
    }
    public void setBy2(String by2) 
    {
        this.by2 = by2;
    }

    @ExcelField(required = ExcelField.ExcelRequired.no,filedName = "版数")
    public String getBy2() 
    {
        return by2;
    }
    public void setBy3(String by3) 
    {
        this.by3 = by3;
    }

    public String getBy3() 
    {
        return by3;
    }

    public IdAcceptRegister getIdAcceptRegister() {
        return idAcceptRegister;
    }

    public void setIdAcceptRegister(IdAcceptRegister idAcceptRegister) {
        this.idAcceptRegister = idAcceptRegister;
    }

    @Override
    public Date getCreateTime() {
        return createTime;
    }

    @Override
    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    @ExcelField(required = ExcelField.ExcelRequired.must,filedName = "系来函所附清单的序号")
    public String getLetterOrder() {
        return letterOrder;
    }

    public void setLetterOrder(String letterOrder) {
        this.letterOrder = letterOrder;
    }

    public String getExportIds() {
        return exportIds;
    }

    public void setExportIds(String exportIds) {
        this.exportIds = exportIds;
    }

    @ExcelField(required = ExcelField.ExcelRequired.no,filedName = "网址")
    public String getUrl() {
        return url;
    }

    public void setUrl(String url) {
        this.url = url;
    }

    public String getVersionNumberNet() {
        return versionNumberNet;
    }

    public void setVersionNumberNet(String versionNumberNet) {
        this.versionNumberNet = versionNumberNet;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("sendingUnit", getSendingUnit())
            .append("recordNumber", getRecordNumber())
            .append("takeover", getTakeover())
            .append("registerId", getRegisterId())
            .append("sampleName", getSampleName())
            .append("sampleNumber", getSampleNumber())
            .append("sampleCode", getSampleCode())
            .append("sampleId", getSampleId())
            .append("frontCover", getFrontCover())
            .append("backCover", getBackCover())
//            .append("publishInfo", getPublishInfo())
            .append("other", getOther())
            .append("sampleType", getSampleType())
            .append("author", getAuthor())
            .append("interBookNumber", getInterBookNumber())
            .append("nationUnifiedPubliNumber", getNationUnifiedPubliNumber())
            .append("printingUnit", getPrintingUnit())
            .append("distribution", getDistribution())
            .append("cipNumber", getCipNumber())
            .append("edition", getEdition())
            .append("publishingUnit", getPublishingUnit())
            .append("publishingTime", getPublishingTime())
            .append("printTimes", getPrintTimes())
            .append("format", getFormat())
            .append("issueUnit", getIssueUnit())
            .append("issueTime", getIssueTime())
            .append("printedSheet", getPrintedSheet())
            .append("printedNumber", getPrintedNumber())
            .append("wordCount", getWordCount())
            .append("pricing", getPricing())
            .append("issue", getIssue())
            .append("competentUnit", getCompetentUnit())
            .append("organizers", getOrganizers())
            .append("adverBusinessLicense", getAdverBusinessLicense())
            .append("ifpi", getIfpi())
            .append("onlinePubliNumber", getOnlinePubliNumber())
            .append("onlineServiceNumber", getOnlineServiceNumber())
            .append("copyCertNumber", getCopyCertNumber())
            .append("approvalNumber", getApprovalNumber())
            .append("originalPublisher", getOriginalPublisher())
            .append("bookNumber", getBookNumber())
            .append("issueNumber", getIssueNumber())
            .append("relatedInfo", getRelatedInfo())
            .append("takeoverUser", getTakeoverUser())
            .append("isUse", getIsUse())
            .append("qrCode", getQrCode())
            .append("status", getStatus())
            .append("by1", getBy1())
            .append("by2", getBy2())
            .append("by3", getBy3())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("remark", getRemark())
            .append("versionNumber",getVersionNumber())
            .toString();
    }
}
